.unit-converter {
  background-color: #f8f9fa;
  min-height: 100vh;
  padding-bottom: 40px;

  .converter-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    background: linear-gradient(135deg, #3a7bd5, #3a6073);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;

    .header-title {
      font-size: 34px;
      font-weight: 600;
      color: #fff;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
  }
}

.taroify-tabs {
  --tabs-nav-background-color: #fff;
  --tabs-bottom-bar-color: #3a7bd5;
  --tabs-active-text-color: #3a7bd5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 15px;

  .taroify-tab {
    font-size: 30px;
    padding: 20px 0;
    font-weight: 500;
  }
}

.converter-container {
  padding: 0 15px;
}

.taroify-cell-group__title {
  font-size: 28px;
  color: #3a7bd5;
  font-weight: 600;
  padding-left: 10px;
}

.taroify-cell-group--inset {
  margin: 12px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

  .taroify-cell {
    font-size: 28px;
    padding: 20px 16px;

    &::after {
      border-color: rgba(0, 0, 0, 0.06);
    }

    .taroify-cell__title {
      color: #333;
      font-weight: 500;
    }

    .taroify-cell__value {
      color: #555;
    }
  }
}

.taroify-field {
  width: 100%;

  &__label {
    color: #333;
    font-size: 28px;
    font-weight: 500;
  }

  .taroify-input {
    font-size: 28px;
    color: #444;
  }
}

.radio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0;
}

.taroify-radio {
  margin-right: 16px;
  margin-bottom: 8px;

  &__icon {
    --radio-checked-icon-color: #3a7bd5;
  }

  &__label {
    font-size: 28px;
    color: #444;
  }
}

.button-container {
  margin: 30px 0;
  padding: 0 10px;

  .taroify-button {
    --button-primary-background-color: #3a7bd5;
    --button-primary-border-color: #3a7bd5;
    font-size: 30px;
    padding: 20px 0;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(58, 123, 213, 0.3);

    &:active {
      transform: translateY(1px);
      box-shadow: 0 2px 6px rgba(58, 123, 213, 0.3);
    }
  }
}

.result-container {
  margin-top: 16px;
}

.result-content {
  display: flex;
  flex-direction: column;

  .result-label {
    font-size: 28px;
    color: #555;
    margin-bottom: 10px;
  }

  .result-value-container {
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.1), rgba(58, 123, 213, 0.2));
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
  }
}

.result-text {
  font-size: 30px;
  font-weight: 600;
  color: #3a7bd5;
  padding: 4px 0;
  position: relative;
}
